package cn.atzxc.qy.mapper;

import cn.atzxc.qy.domain.Task;
import cn.atzxc.qy.domain.vo.TaskVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskMapper extends BaseMapper<Task> {


    List<TaskVo> selectListByUniversityAndCategory(String university, Long categoryId,Long userid);

    //查询我的任务
    List<TaskVo> selectMyTaskList(Long userid);

    TaskVo selectTaskVoByCode(String taskCode);
}
